lcDrwAddTextStyle | Home |
HANDLE lcDrwAddTextStyle ( HANDLE hDrw, LPCWSTR szName, LPCWSTR szFontName, BOOL bWinFont ); |
hDrw | |
Handle to a drawing object. | |
szName | |
Text style name. Must be different from exist text styles. | |
szFontName | |
Font name. | |
bWinFont | |
TRUE - szFontName is Windows TTF font, FALSE - LCF font. |
Handle to a new text style. If the function fails, the return value is NULL. |
Code sample, Text   |